<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>教育系统后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="__CSS__/jrkadmin.css?v={:time()}">
<!--    <link rel="stylesheet" href="__CSS__/jrkLoading.css?v={:time()}"/>-->
    <script type="text/javascript" src="__BJS__/jrk_config.js?v={:time()}"></script>
    <script type="text/javascript" src="__BJS__/jrkLoading.js?v={:time()}"></script>
    <link href="__PLUG__/font-awesome/css/font-awesome.css?v=4.7.0" rel="stylesheet">
    <link rel="stylesheet" href="__CSS__/animate.min.css" media="all"/>
    <script src="__JS__/jquery.min.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin okadmin blue_theme">
    <!--头部导航-->
    <div class="layui-header okadmin-header">
        <ul class="layui-nav layui-layout-left">
            <li class="layui-nav-item">
                <a class="ok-menu ok-show-menu" href="javascript:" title="菜单切换">
                    <i class="layui-icon layui-icon-shrink-right"></i>
                </a>
            </li>
        </ul>
        <ul class="layui-nav layui-layout-right">
            <li class="no-line layui-nav-item">
                <a href="javascript:">
                    {$_info.username}
                </a>
                <dl id="userInfo" class="layui-nav-child">
                    <dd><a lay-id="u-1" href="javascript:" data-url="/admin/Admin/baseData">基本资料<span
                            class="layui-badge-dot"></span></a></dd>
                    <dd><a lay-id="u-3" href="javascript:" data-url="/admin/Admin/changPass">修改密码</a></dd>
                    <dd>
                        <hr/>
                    </dd>
                    <dd><a href="javascript:void(0)" id="logout">退出登录</a></dd>
                </dl>
            </li>
        </ul>
    </div>
    <!--遮罩层-->
    <div class="ok-make"></div>
    <!--左侧导航区域-->
    <div class="layui-side layui-side-menu okadmin-bg-20222A ok-left">
        <div class="layui-side-scroll okadmin-side">
            <div class="okadmin-logo">{$_name}</div>
            <div class="user-photo">
                <p>你好！<span class="userName">{$_info.nickname}</span>, 欢迎登录</p>
            </div>
            {include file='public/left' /}
        </div>
    </div>

    <!-- 内容主体区域 -->
    <div class="content-body">
        <div class="layui-tab ok-tab" lay-filter="ok-tab" lay-allowClose="true" lay-unauto>
            <div data-id="left" id="okLeftMove"
                 class="ok-icon ok-icon-back okadmin-tabs-control move-left okNavMove"></div>
            <div data-id="right" id="okRightMove"
                 class="ok-icon ok-icon-right okadmin-tabs-control move-right okNavMove"></div>

            <ul id="tabTitle" class="layui-tab-title ok-tab-title not-scroll">
                <li class="layui-this" lay-id="1" tab="index">
                    <i class="ok-icon">&#xe654;</i>
                    <cite is-close=false>控制台</cite>
                </li>
            </ul>

            <div id="tabContent" class="layui-tab-content ok-tab-content">
                <div class="layui-tab-item layui-show">
                    <iframe src="{:url('index/home')}" frameborder="0" scrolling="yes" width="100%"
                            height="100%"></iframe>
                </div>
            </div>
        </div>
    </div>

    <!--底部信息-->
    <div class="layui-footer okadmin-text-center">
        Copyright ©2019-©2022 {$_name} {$_version} All Rights Reserved
    </div>
</div>

<!--js逻辑-->
<script src="__PLUG__/layui/layui.js?v=2.5.6"></script>
<script src="__BJS__/snowflake.js?snowflake=XUEHUA"></script>
<script src="__BJS__/jrkadmin.js?v=1.0"></script>

<script>
    //顶部鼠标移上显示
    $('.tip_jrk').mouseover(function () {
        var str = $(this).find("a").attr("title");
        layer.tips(str, $(this), {
            tips: [1, '#FF5722'],
            time: 2000
        });
    });

    /**
     * 左侧导航tips提示
     */
    $(document).on('mouseenter', '.show_tips a', function () {
        var tip_index = layer.tips($(this).find('cite').text(), this, {
            time: 0
        });
        $(this).data('tip-index', tip_index);
    });
    $(document).on('mouseleave', '.show_tips a', function () {
        var tip_index = $(this).data('tip-index');
        if (tip_index !== undefined) {
            layer.close(tip_index);
        }
    });
</script>
</body>
</html>
